package com.bob.debt.entity.base;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement
public class Document {
    // 承办机构代码
    @JacksonXmlProperty(localName = "InstCode")
    private String underTakeInstitutionCode;
    // 业务日期
    @JacksonXmlProperty(localName = "BizDate")
    private String businessDate;
    // 系统时间
    @JacksonXmlProperty(localName = "SysTime")
    private String systemTime;
    // 交易序号(8位固定数字)
    @JacksonXmlProperty(localName = "TxnFlowNo")
    private String transactionNumber;
    // 交易标志-两位数据代码
    @JacksonXmlProperty(localName = "TxnCode")
    private String transactionCode;
    // 债券代码
    @JacksonXmlProperty(localName = "BondCode")
    private String bondCode;
}
